<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Title</title>

</head>
<body>
<h1>学生</h1>
<div>
    <a href="/add_students/">添加</a>
</div>
<table>
    <thead>
        <tr>
            <th>id</th>
            <th>学生名字</th>
            <th>学生班级</th>
            <th>操作</th>

        </tr>
    </thead>
    <tbody>
    {% for row in result %}
        <tr>
            <td>{{ row.id }}</td>
            <td>{{ row.name }}</td>
            <td>{{ row.title }}</td>
            <td><a href="/edic_student/?nid={{ row.id }}">编辑</a></td>
{#            <td><a href="/del_class/?nid={{ row.id }}">删除</a></td>#}
{#            <td><a href="/updata_class/?nid={{ row.id }}">修改</a></td>#}
        </tr>
    {% endfor %}
    </tbody>
</table>
</body>

</html>
